/**
 * 
 */
package com.kelaite.procurement.constants;

/**
 * @author yuanchangwei
 *
 */
public class Constants {

	public final static String MD5_SALT = "asdfghjkliuytrewqzxcvbnm772910qhfdserv";

	public final static String CURRENT_USER = "currentUser";

	public final static String ERROR_MSG = "resMsg";

	public final static Integer COMPANY_BUSINESS_TYPE_PARTY_FIRST = 1;// 甲方

	public final static Integer COMPANY_BUSINESS_TYPE_PARTY_SECOND = 2;// 已方

	public final static Integer COMPANY_BUSINESS_TYPE_PARTY_ADMIN = 4;// 管理员

	public final static int HAS_DELIVERY_NOTE = 1;// 有送货单

	public final static int NOT_HAS_DELIVERY_NOTE = 0;// 无送货单

	public final static int HAS_WORK_CONFIRMATION = 1;// 有工作确认单

	public final static int NOT_HAS_WORK_CONFIRMATION = 0;// 无工作确认单

	public final static int HAS_ACCEPTANCE_REPORT = 1;// 有验收报告

	public final static int NOT_HAS_ACCEPTANCE_REPORT = 0;// 无验收报告

	public final static int NEED_INVOICE = 1;// 需要开发票

	public final static int NO_NEED_INVOICE = 0;// 不需要开发票

	public final static int PIPELINE_ACCEPT = 1;// 接受

	public final static int PIPELINE_NOT_ACCEPT = 0;// 不接受

	public final static int PIPELINE_PARTICIPATE = 0;// 参加

	public final static int PIPELINE_NOT_PARTICIPATE = 1;// 不参加

	public final static int SUGGESTED_WIN_NO = 0;// suggested to win, no

	public final static int SUGGESTED_WIN_YES = 1;// suggested to win, yes

	public final static int FINAL_WIN_NO = 0;// final win, no

	public final static int FINAL_WIN_YES = 1;// final win, yes

	public final static Integer VENDOR_USER_STATUS_ACTIVE = 1; // 有效

	public final static Integer VENDOR_USER_STATUS_INACTIVE = 0; // 无效

	public final static int USER_MESSAGE_DELETED = 1; // 已删除消息

	public final static int USER_MESSAGE_UNDELETED = 0; // 未删除消息

	public final static int USER_STATUS_DELETED = 1; // 用户处于删除状态

	public final static int USER_STATUS_NORMAL = 0; // 用户处理正常状态

	public final static int ONE_YEAR = 365;

	public final static int DEFAULT_USER_LIMIT_NUM = 5; // t_vendor
														// users_limit_num

	public final static int IS_COMPANY_ADMIN = 1;

	public final static int IS_NOT_COMPANY_ADMIN = 0;

	public final static String DELETED = "1";// 已刪除

	public final static String UNDELETED = "0";// 未刪除

	public final static int UN_AUDITED = 0;// 未审核

	public final static int AUDITED = 1;// 已审核

	public final static int USEFULL = 1;// 有效

	public final static int UNUSEFULL = 0;// 无效

}